/*ggDiykpsqb2Iwfq7RVsA5WZDiaMLQzkMPiBt1/ujii7JOoUbWMkOZ+7yWsLHdVSf*/
/*
 * @Author: xiahui 
 * @PageInfo: 插入行 
 * @Date: 2019-02-22 08:45:12 
 * @Last Modified by: zhr
 * @Last Modified time: 2021-03-05 16:42:28
 */
import { FIELDS ,AREA} from '../../constance';
import { RownoUtils } from 'src/scmpub/scmpub/pub/tool/cardTableTools';
import { resetShoworderValue } from '../../utils/cardPageUtil';

export default function(props, moduleId, record, index) {
	let hid = props.form.getFormItemsValue(AREA.cardFormId, 'pk_ct_pu');
	props.cardTable.addRow(moduleId, index,  { pk_ct_pu: hid , vchangerate: {display: '1/1',  value: '1/1'} ,vqtunitrate: {display: '1/1',  value: '1/1'} });
	RownoUtils.setRowNo(props, moduleId, FIELDS.crowno);
	resetShoworderValue(props, moduleId);
}

/*ggDiykpsqb2Iwfq7RVsA5WZDiaMLQzkMPiBt1/ujii7JOoUbWMkOZ+7yWsLHdVSf*/